package servicesImp.expertInfo;


import base.IBaseMapperWithoutBLOBs;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import services.expertInfo.ExpertBaseServices;
import services.expertInfo.ExpertWorkServices;
import services.expertInfo.LeaderCheckServices;
import wt.dao.expertInfo.ExpertWorkMapper;
import wt.entity.expertInfo.ExpertWork;
import wt.entity.expertInfo.ExpertWorkExample;
import wt.staticData.TableName;

/**
 * Created by Administrator on 2017/10/14.
 */
@Service
public class ExpertWorkExpertInfoServicesImp extends BaseExpertInfoServicesImp<ExpertWork, ExpertWorkExample> implements ExpertWorkServices {
    @Autowired
    ExpertWorkMapper expertWorkMapper;
    @Autowired
    LeaderCheckServices leaderCheckServices;
    @Autowired
    ExpertBaseServices expertBaseServices;

    @Override
    public IBaseMapperWithoutBLOBs< ExpertWork, ExpertWorkExample> getMapper() {
        return this.expertWorkMapper;
    }

    @Override
    public String getTableName() {
        return TableName.EMS_EXPERT_WORK;
    }

    @Override
    public ExpertWork getEntity() {
        return new ExpertWork();
    }

    @Override
    public ExpertWorkExample getRecordExample() {
        return new ExpertWorkExample();
    }

    @Override
    public LeaderCheckServices getLeaderCheckServices() {
        return leaderCheckServices;
    }

    @Override
    public ExpertBaseServices getExpertBaseServices() {
        return expertBaseServices;
    }
}
